﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.ModelManager.DeviceInfo
{
    public class DeviceInfoModel
    {
        public string FarmerName { get; set; }

        public string IDCardNo { get; set; }

        public string DeviceName { get; set; }

        public string DeviceID { get; set; }

        public DeviceState Status { get; set; }
    }

    public enum DeviceState
    {
        /// <summary>
        /// 空闲中
        /// </summary>
        Normal = 0,

        /// <summary>
        /// 准备中
        /// </summary>
        Ready = 1,

        /// <summary>
        /// 暂停中
        /// </summary>
        Suspend = 2,

        /// <summary>
        /// 分拣中
        /// </summary>
        Ratting = 3,

        /// <summary>
        /// 清仓中
        /// </summary>
        Clear = 4,

        /// <summary>
        /// 待机中
        /// </summary>
        Await = 5,
    }
}
